package org.tongdao.yulong.event;

import org.springframework.context.event.ContextClosedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2021年01月20日 下午1:52
 */
@Component
public class ContextClosedApplicationListener {
  @EventListener
  public void onContextClosedEvent(ContextClosedEvent event){
    System.out.println("ContextClosedApplicationListener监听到ContextClosedEvent事件！");
  }
}
